<?php

namespace app\mall\ui\form;

/**
 * 门店资金日志表单
 */
class MallStoreAccountLogForm
{
    public function store_id()
    {
        return [
            'type' => 'number',
            'title' => '门店',
            'field' => 'store_id',
            'validate' =>
                [
                    [
                        'required' => true,
                        'message' => '不能为空',
                    ],
                ],
        ];
    }

    public function info_id()
    {
        return [
            'type' => 'number',
            'title' => '信息ID',
            'field' => 'info_id',
        ];
    }

    public function money()
    {
        return [
            'type' => 'input',
            'title' => '金额',
            'field' => 'money',
        ];
    }

    public function create_time()
    {
        return [
            'type' => 'dateTime',
            'title' => '日期',
            'field' => 'create_time',
        ];
    }

    public function desc()
    {
        return [
            'type' => 'input',
            'title' => '备注',
            'field' => 'desc',
        ];
    }
}